﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using DevExpress.LookAndFeel;
using DevExpress.UserSkins;
using DevExpress.Skins;

namespace CCT
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.SetCompatibleTextRenderingDefault(false);
            Application.CurrentCulture = System.Globalization.CultureInfo.CreateSpecificCulture("vi-VN");

            System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("vi-VN");
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("vi-VN");
            DevExpress.XtraEditors.Controls.Localizer.Active = new viLanguage();

            Application.EnableVisualStyles();
            OfficeSkins.Register();
            BonusSkins.Register();

            SkinManager.EnableFormSkins();

            Application.Run(new FrmMain());
        }
    }
}
